WriteAxisProfileDeceleration

Sets the Profile Deceleration of an axis.

Syntax

KsError WriteAxisProfileDeceleration(
     int Index,
     int Value
);

Parameters

Index: the index of an axis. Indexes are zero based. Aliases affect this parameter.

Value: the value to write.

Return value

If the function succeeds, it returns errNoError, otherwise an error code. For more information about the error code, see the KsError list.

Remarks

NOTE:  The Profile Deceleration is available only if EnableProfilePosition is enabled.

Usable EtherCAT states

ecatOP

Example

Copy
nRet = WriteAxisProfileDeceleration(0, 1000);

Requirements

  RT Win32
Minimum supported version 4.0 4.0
Header ksapi.h ksapi.h
Library KsApi_Rtss.lib KsApi.lib

See also

ReadAxisActualPosition

ReadAxisActualTorque

ReadAxisActualVelocity

WriteAxisTargetTorque

WriteAxisTargetVelocity

WriteAxisTorqueOffset

WriteAxisTouchProbeControl